import { RouteRecordRaw } from 'vue-router'

const userRoutes: Array<RouteRecordRaw> = [
  {
    path: 'user',
    name: 'User',
    component: () => import('@/views/user/index.vue'),
    meta: { title: '用户管理', requiresAuth: true }
  },
  {
    path: 'user/role',
    name: 'UserRole',
    component: () => import('@/views/user/role.vue'),
    meta: { title: '权限管理', requiresAuth: true }
  }
]

export default userRoutes 